package com.me.customerdemo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class User {
    /**
     * 用户id
     */
    private int id;

    /**
     * 用户账号
     */
    private String userName;

    /**
     *用户昵称
     */
    private String userNike;

    /**
     *用户密码
     */
    private String password;

    /**
     *角色id
     */
    private int roleId;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private int age;

    /**
     * 角色名称
     */
    private String roleName;

    public User() {
    }

    public User(int id, String userName, String userNike, String password, int roleId, String sex, int age, String roleName) {
        this.id = id;
        this.userName = userName;
        this.userNike = userNike;
        this.password = password;
        this.roleId = roleId;
        this.sex = sex;
        this.age = age;
        this.roleName = roleName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNike() {
        return userNike;
    }

    public void setUserNike(String userNike) {
        this.userNike = userNike;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
